package cn.mrcode.fd.blog.dto.account;

import cn.mrcode.fd.blog.dto.ResData;
import cn.mrcode.fd.blog.enu.AccountError;

/**
 *  注册回包数据
 * @author zhuqiang
 */
public class RegisterResData extends ResData{
    public RegisterResData(boolean success) {
        super(success);
        this.success = success;
    }

    public RegisterResData(boolean success,AccountError accountError) {
        super(success,accountError.getCode(),accountError.getInfo());
    }
}
